<?php slot('skill_album','active'); ?>
<div class="row-fluid">	
				<div class="box span12">
					<div class="box-header">
						<h2><i class="icon-user"></i>模块导航</h2>
					</div>
					<div class="box-content">
                                          <ul class="nav tab-menu nav-tabs" id="myTab">
							<li class="active"><a href="#info">功能</a></li>
							<li><a href="#custom">统计信息</a></li>
						</ul>
                                          <div id="myTabContent" class="tab-content">
                                              <div class="tab-pane active" id="info">
                                                  <a class="quick-button-small span1" href="<?php echo url_for('skill_album/add_skill?skill_album_id='.$sf_request->getParameter('id',0)); ?>">
							<i class="icon-edit"></i>
							<p>添加技能</p>
						</a>
						<div class="clearfix"></div>
                                                </div>
                                            <div class="tab-pane" id="custom">
                                              <div class="row-fluid">
                                                    <div class="span3 smallstat box mobileHalf noMargin" ontablet="span6" ondesktop="span3">
                                                            <i class="icon-user green"></i>
                                                            <span class="title">会员总数</span>
                                                            <span class="value"></span>
                                                    </div>
                                            </div>
                                            </div>
                                          </div>
					</div>	
				</div><!--/span-->
                                
			</div>
<div class="row-fluid">	
      <div class="box span12">
              <div class="box-header">
                      <h2>
                        <i class="icon-align-justify"></i><span class="break"></span>
                        专辑技能列表
                      </h2>
                      <div class="box-icon">
<!--                              <a href="#" class="btn-setting"><i class="icon-wrench"></i></a>
                              <a href="#" class="btn-minimize"><i class="icon-chevron-up"></i></a>
                              <a href="#" class="btn-close"><i class="icon-remove"></i></a>-->
                      </div>
              </div>
              <div class="box-content">
                <?php if($sf_user->hasFlash('error')): ?>
                <div class="alert alert-error">
                        <button type="button" class="close" data-dismiss="alert">×</button>
                        <strong>错误！</strong>  <?php echo $sf_user->getFlash('error'); ?>
                </div>
                <?php endif; ?>
                <?php if($sf_user->hasFlash('success')): ?>
                <div class="alert alert-success">
                        <button type="button" class="close" data-dismiss="alert">×</button>
                        <strong>操作成功！</strong> <?php echo $sf_user->getFlash('success'); ?>
                </div>
                <?php endif; ?>
                <?php if($sf_user->hasFlash('notice')): ?>
                <div class="alert alert-info">
                        <button type="button" class="close" data-dismiss="alert">×</button>
                        <strong><?php echo $sf_user->getFlash('notice'); ?></strong> 
                </div>
                <?php endif; ?>
                <div class="row-fluid">
                  
                </div>
                <form id="delete_all_form" action="" method="post" >
                      <table id="data-list" class="table table-bordered table-striped table-condensed">
                                <thead>
                                        <tr>
                                                <th class="center" style="width:30px;">ID</th>
                                                <th class="center" >技能标题</th>
                                                <th class="center" >排序</th>
                                                 <th class="center">创建时间</th>
                                                <th class="center">操作</th>                                            
                                        </tr>
                                </thead>
                                <tbody>
                                 <?php foreach($skills as $skill): ?>
                                    <tr>
                                        <td><?php echo $skill->getId(); ?></td>
                                        <td><?php echo $skill->getSkill()->getTitle(); ?></td>
                                         <td><?php echo $skill->getSortNum() ?></td>
                                         <td><?php echo $skill->getCreatedAt(); ?></td>
                                        <td>
                                            <a href="<?php echo url_for('skill_album/delete_skill?skill_album_id='.$skill->getSkillAlbumId().'&skill_id='.$skill->getSkillId()); ?>">
                                                删除
                                            </a>
                                        </td>
                                    </tr>
                                 <?php endforeach; ?>
                                </tbody>
                       </table>  
                  </form>
              </div>
      </div><!--/span-->
</div>